//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['J Boog','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Monday','4/29/2024','8:00 PM','6243786','J-Boog-4-29-2024'],['Westend','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Thursday','5/2/2024','8:00 PM','6333377','Westend-5-2-2024'],['Northern Arizona University Film Festival','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Friday','5/3/2024','7:00 PM','6333376','Northern-Arizona-University-Film-Festival-5-3-2024'],['May the Fourth Be With You Space Rave and Dance Party','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Saturday','5/4/2024','9:00 PM','6314350','May-the-Fourth-Be-With-You-Space-Rave-and-Dance-Party-5-4-2024'],['Reggaeton Party','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Thursday','5/9/2024','9:00 PM','6360776','Reggaeton-Party-5-9-2024'],['Native American Comedy Night','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Friday','5/10/2024','7:30 PM','6333378','Native-American-Comedy-Night-5-10-2024'],['Epic Queen','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Saturday','5/11/2024','8:00 PM','6333379','Epic-Queen-5-11-2024'],['Tribal Seeds','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Sunday','5/12/2024','7:30 PM','6251247','Tribal-Seeds-5-12-2024'],['Charles Wesley Godwin','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Wednesday','5/15/2024','8:00 PM','6226995','Charles-Wesley-Godwin-5-15-2024'],['Hemlock','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Thursday','5/16/2024','6:30 PM','6314232','Hemlock-5-16-2024'],['Burning Spear','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Thursday','5/30/2024','7:30 PM','6405386','Burning-Spear-5-30-2024'],['Molly Tuttle & Golden Highway','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Friday','5/31/2024','8:00 PM','6266195','Molly-Tuttle---Golden-Highway-5-31-2024'],['Pete Jr','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Saturday','6/1/2024','7:30 PM','6347783','Pete-Jr-6-1-2024'],['Adult Prom','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Saturday','6/8/2024','9:00 PM','6360775','Adult-Prom-6-8-2024'],['Ezra Bell','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Sunday','6/16/2024','7:30 PM','6360817','Ezra-Bell-6-16-2024'],['Rock with You - Tribute to Michael Jackson','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Friday','6/21/2024','7:00 PM','6360818','Rock-with-You---Tribute-to-Michael-Jackson-6-21-2024'],['When Doves Cry - Prince Tribute','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Saturday','6/22/2024','8:00 PM','6360814','When-Doves-Cry---Prince-Tribute-6-22-2024'],['IMomSoHard','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Friday','11/1/2024','8:00 PM','6403270','IMomSoHard-11-1-2024'],['The Dustbowl Revival','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Wednesday','9/24/2070','8:00 PM','4495034','The-Dustbowl-Revival-9-24-2070'],['Built To Spill','Orpheum Theatre - Flagstaff','Flagstaff, AZ','Monday','11/10/2070','8:00 PM','4379015','Built-To-Spill-11-10-2070']],'Orpheum Theatre Flagstaff','http://www.ticketnetwork.com/ticket/Orpheum-Theatre-Flagstaff-events.aspx');